package com.member.shop.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizUserSurplusDetails;

/**
 * 用户余额明细Mapper接口
 *
 * @author wangxin
 * @date 2024-05-14
 */
public interface SysBizUserSurplusDetailsMapper extends BaseMapper<SysBizUserSurplusDetails>
{
    /**
     * 查询用户余额明细
     *
     * @param id 用户余额明细主键
     * @return 用户余额明细
     */
    public SysBizUserSurplusDetails selectSysBizUserSurplusDetailsById(Long id);

    /**
     * 查询用户余额明细列表
     *
     * @param sysBizUserSurplusDetails 用户余额明细
     * @return 用户余额明细集合
     */
    public List<SysBizUserSurplusDetails> selectSysBizUserSurplusDetailsList(SysBizUserSurplusDetails sysBizUserSurplusDetails);

    /**
     * 新增用户余额明细
     *
     * @param sysBizUserSurplusDetails 用户余额明细
     * @return 结果
     */
    public int insertSysBizUserSurplusDetails(SysBizUserSurplusDetails sysBizUserSurplusDetails);

    /**
     * 修改用户余额明细
     *
     * @param sysBizUserSurplusDetails 用户余额明细
     * @return 结果
     */
    public int updateSysBizUserSurplusDetails(SysBizUserSurplusDetails sysBizUserSurplusDetails);

    /**
     * 删除用户余额明细
     *
     * @param id 用户余额明细主键
     * @return 结果
     */
    public int deleteSysBizUserSurplusDetailsById(Long id);

    /**
     * 批量删除用户余额明细
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizUserSurplusDetailsByIds(Long[] ids);
}